<?php
namespace controller;

use service\TestService;
use lib\MathUtil;

class Test extends Base {
	
    private $testService;
    
    protected function init()
    {
        $this->testService = new TestService();
    }
    
	public function actionIndex()
	{
	    var_dump($this->testService->test1());
	}
	
	public function actionTest1()
	{
	    var_dump(MathUtil::sum(1, 2));
	}
}